<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:useBean id="pageConfig" scope="request" class="bean.Page"></jsp:useBean>
<jsp:useBean id="logon" scope="session" class="bean.Connexion"></jsp:useBean>
<jsp:useBean id="currentpage" scope="session" class="bean.Page"></jsp:useBean>
<%
if (logon.isConnect()) {
	pageConfig.setTitre("Médiconance - Mon compte : "+logon.getLogin());
	pageConfig.setContenu("pages/moncompte/mcmain.jsp");
	currentpage.setShortName("compte");
}
else {
	pageConfig.setTitre("Bienvenue sur l'espace de connexion sécurisé de Médiconance");
	pageConfig.setContenu("pages/logon.jsp");
	currentpage.setShortName("login");
}

%>
<jsp:include page="./modele.jsp" />
<%

if (logon.isConnect() && false) {
%>
<jsp:include page="settingbox/box.jsp" />
<%
}
%>